package com.codedancer.campus.client.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.codedancer.campus.client.service.bo.headlineNews.HeadlineNewsPageSearchBo;
import com.codedancer.campus.client.service.vo.headlineNews.HeadlineNewsPageVo;
import com.codedancer.campus.client.service.vo.headlineNews.HeadlineNewsVo;
import javax.servlet.http.HttpServletRequest;

public interface IHeadlineNewsService {

    /**
     * 分页查询头条新闻
     *
     * @param headlineNewsPageSearchBo
     * @return
     */
    IPage<HeadlineNewsPageVo> page(HttpServletRequest request,
        HeadlineNewsPageSearchBo headlineNewsPageSearchBo);

    /**
     * 头条新闻详情
     *
     * @param uuid
     * @return
     */
    HeadlineNewsVo detail(String uuid);
}
